﻿using System;
using System.Collections.Generic;
using System.Text;

using Torch.WL.DataAccess.CleanChina;
using Torch.WL.Entity.CleanChina;
using Torch.FrameWork.Utility;

namespace Torch.WL.Business.CleanChina
{
    class TbWeiboManager
    {
        private readonly TbWeiboAccess dal = new TbWeiboAccess();

        private static TbWeiboManager _weiboManager=new TbWeiboManager ();
        public static TbWeiboManager Instance()
        {
            return _weiboManager;
        }

        private TbWeiboManager()
        {         
        }

        public List<TbWeiboEntity> GetWeiboList(int lessthan_wbid, int pagesize)
        {
            if (pagesize == 0) pagesize = 10;

            return dal.GetWeiboList(lessthan_wbid, pagesize);

        }

    }
}
